package com.shxy.cloudclassroom.entity.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 下载历史实体类
 */
@Data
@TableName("tb_upload_history")
public class DownloadHistory implements History{
    /**
     * 记录ID
     */
    private Long id;
    
    /**
     * 用户ID
     */
    @TableField("user_id")
    private Long userId;
    
    /**
     * 资源ID
     */
    @TableField("resource_id")
    private Long resourceId;
    
    /**
     * 下载时间
     */
    @TableField("upload_time")
    private LocalDateTime uploadTime;
}